package com.jiangdong.eureka.service.controller;


import org.springframework.web.bind.annotation.*;

@RestController
public class TestController {

    @GetMapping("/test/{id}")
    public String test(@PathVariable(value = "id")String id){
        return "eureka service return value---> id:" + id;
    }

    @PostMapping("/test/post")
    public String postTest(@RequestParam("id")String id){
        return "eureka service return value---> id:" + id;
    }
}
